#include "dbconnect.h"

DbConnect::DbConnect()
{
    connection = QSqlDatabase::addDatabase("QSQLITE");
    connection.setDatabaseName("/sdcard/basedata/base.db.sqlite");
    connection.open();
}
QSqlDatabase DbConnect::getConnection() {

 return this->connection;

}

DbConnect::~DbConnect() {

    // Destroy
}
